package com.cq.hd.member.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class SubsidyAmtBillVo implements Serializable {

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "月份")
    private String month;

    @ApiModelProperty(value = "月总收入")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal monthIncome;

    @ApiModelProperty(value = "月总支出")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal monthExpend;

    @ApiModelProperty(value = "流水列表数据")
    private List<SubsidyAmtBillPageVo> subsidyBills;

}
